package com.vogue.supplymall.shop.domain.dao.impl;

import com.vogue.supplymall.shop.domain.dao.ProductAttrplanDao;
import com.vogue.supplymall.shop.domain.mapper.ProductAttrplanMapper;
import com.vogue.supplymall.shop.domain.model.ProductAttrplan;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

/**
 * @Aouthor: zhangliang
 * @Date: Create in 2017-12-14
 */
@Repository("productAttrplanDao")
public class ProductAttrplanDaoImpl extends BaseDaoImpl<ProductAttrplan, Long> implements ProductAttrplanDao {
	@Resource
	private ProductAttrplanMapper productAttrplanMapper;

	@Override
	public List<ProductAttrplan> findProductAttrplanBySP(Long id) {
		return productAttrplanMapper.findProductAttrplanBySP(id);
	}
	
}
